package com.leoren.run.vo;


import com.leoren.run.utils.GsonUtil;

/**
 * @ClassName AnnounceVo
 * @Auther Leoren
 * @Date 2020/2/15 10:44
 * @Desc :
 * @Version v1.0
 **/

/**
 * 公告实体类
 */
public class AnnounceVo {

    private Long id;

    private String date;

    private String readUsers;

    private String title;

    private String content;

    private int isRead;

    @Override
    public String toString() {
        return GsonUtil.GenerateJsonStr(this);
    }

    public AnnounceVo() {
    }

    public AnnounceVo(Long id, String date, String readUsers, String title, String content, int isRead) {
        this.id = id;
        this.date = date;
        this.readUsers = readUsers;
        this.title = title;
        this.content = content;
        this.isRead = isRead;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getReadUsers() {
        return readUsers;
    }

    public void setReadUsers(String readUsers) {
        this.readUsers = readUsers;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getIsRead() {
        return isRead;
    }

    public void setIsRead(int isRead) {
        this.isRead = isRead;
    }
}
